<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.


| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

// Route::get('/', 'WelcomeController@index');

// Route::get('home', 'HomeController@index');

// // Route::get('test','WelcomeController@test');

// Route::get('admin/user','Admin\AdminUserController@index');



// Route::controllers([
// 	'auth' => 'Auth\AuthController',
// 	'password' => 'Auth\PasswordController',
// ]);


Route::get("code/thumb", "CodeController@code");

Route::get("search", "SearchController@searchResult");
Route::post("dologin", "LoginController@doLogin");

Route::group(['prefix' => 'admin', 'namespace' => 'admin'], function(){

	Route::get("/", "AdminController@index");
	Route::get("dologin", "AdminController@login");

	Route::post("upload", "CommonController@uploadImg");
	Route::get("get_use_device", "CommonController@getUseDevice");
	Route::get("get_use_tech", "CommonController@getUseTech");

	Route::get("address/getarea", "CommonController@getArea");
	Route::get("get_investment_type", "CommonController@getInvestmentType");
	Route::get("get_energy_type", "CommonController@getEnergyType");
	Route::get("get_domain_type", "CommonController@getDomainType");

	Route::get("get_domains", "CommonController@getDomains");
	Route::get("get_techs", "CommonController@getTechs");

	Route::get("get_mainbody", "CommonController@getMainbody");
	Route::get("get_use_device", "CommonController@getUseDevice");
	Route::get("get_use_tech", "CommonController@getUseTech");

	Route::get("get_all_project", "CommonController@getAllProject");

	// 用户中心
	Route::group(['prefix' => 'uc', 'namespace' => 'uc'], function(){
		Route::get("", "UserController@index");
		Route::get("message", "UserController@userMessage");
		Route::post("get_user_list", "UserController@getUserList");

		Route::get("get_user_profile", "UserController@getUserProfile");
		Route::post("edit_profile/update", "UserController@updateProfile");

		Route::get("get_user_group", "UserController@getUserGroup");
		Route::get("get_user_industry", "UserController@getUserIndustry");

		Route::post("update_group", "UserController@updateGroup");
		Route::post("update_industry", "UserController@updateIndustry");
		Route::post("update_industry_device", "UserController@updateIndustryDevice");

		Route::post("third_person_list", "UserController@thirdPersonList");
		Route::post("third_device_list", "UserController@thirdDeviceList");
		Route::post("third_project_list", "UserController@thirdProjectList");
		Route::post("get_user_project", "UserController@getUserProject");
		Route::post("get_user_device", "UserController@getUserDevice");
		Route::post("get_user_tech", "UserController@getUserTech");
		Route::post("get_project_finance", "UserController@getProjectFinance");

		Route::get("edit_artisan", "UserController@editArtisan");
		Route::post("edit_artisan/add", "UserController@saveArtisan");
		Route::get("edit_artisan/get_artisan", "UserController@getArtisan");
		Route::post("edit_artisan/update", "UserController@updateArtisan");
		Route::post("edit_artisan/delete", "UserController@deleteArtisan");

		Route::get("edit_instrument", "UserController@editInstrument");
		Route::post("edit_instrument/add", "UserController@addInstrument");
		Route::get("edit_instrument/get", "UserController@getInstrument");
		Route::post("edit_instrument/update", "UserController@updateInstrument");
		Route::post("edit_instrument/delete", "UserController@deleteInstrument");

		Route::get("edit_projects", "UserController@editProjects");
		Route::post("edit_projects/add", "UserController@addProjects");
		Route::get("edit_projects/get", "UserController@getProjects");
		Route::post("edit_projects/update", "UserController@updateProject");
		Route::post("edit_projects/delete", "UserController@deleteProjects");

        Route::post("audit", "UserController@audit");
	});

	Route::group(['prefix' => 'admins', 'namespace' => 'admins'], function(){
		Route::get("", "AdminUserController@index");
		Route::post("list", "AdminUserController@adminList");
		Route::post("add_admin_user", "AdminUserController@addAdminUser");
		Route::post("delete_admin", "AdminUserController@deleteAdminUser");
		Route::get("get_admin", "AdminUserController@getAdmins");
		Route::post("update_admin", "AdminUserController@updateAdmins");

	});

	//基础配置
	Route::group(['prefix' => 'config', 'namespace' => 'config'], function(){
		Route::get("", "ConfigController@index");
		Route::post("add_tech", "ConfigController@addTech");
		Route::get("get_tech", "ConfigController@getTech");
		Route::post("delete_tech", "ConfigController@deleteTech");
		Route::post("update_tech", "ConfigController@updateTech");
		Route::post("add_body", "ConfigController@addBody");
		Route::get("get_body", "ConfigController@getBody");
		Route::post("delete_body", "ConfigController@deleteBody");
		Route::post("update_body", "ConfigController@updateBody");
		Route::get("get_invest", "ConfigController@getInvest");
		Route::post("add_invest", "ConfigController@addInvest");

		Route::post("update_invest", "ConfigController@updateInvest");
		Route::post("delete_invest", "ConfigController@deleteInvest");
		Route::post("update_role", "ConfigController@updateRole");
		Route::post("add_system", "ConfigController@addSystem");
		Route::post("update_system", "ConfigController@updateSystem");
		Route::post("delete_system", "ConfigController@deleteSystem");
		Route::get("get_role", "ConfigController@getRole");
		Route::get("get_system", "ConfigController@getSystem");
		Route::get("get_domains", "ConfigController@getDomains");
		Route::post("add_domains", "ConfigController@addDomains");
		Route::post("add_body", "ConfigController@addBody");
		Route::post("update_domains", "ConfigController@updateDomains");
		Route::post("delete_domains", "ConfigController@deleteDomians");
		Route::get("get_number", "ConfigController@getNumber");

	});


	// 项目管理
	Route::group(['prefix' => 'project', 'namespace' => 'project'], function(){
		Route::get("", "ProjectController@index");
		Route::post("list", "ProjectController@projectList");
		Route::get("edit_project", "ProjectController@editProject");
		Route::post("edit_project/update", "ProjectController@updateProject");
		Route::get("add_project", "ProjectController@addProject");
		Route::get("detail_project", "ProjectController@detailProject");
		Route::get("get_detail", "ProjectController@getDetail");
        Route::post("add_project/add", "ProjectController@saveProject");
		Route::get("get_user", "ProjectController@getUser");
        Route::post("audit", "ProjectController@audit");
        Route::get("get_Progress","ProjectController@getProgress");
        Route::post("add_progress","ProjectController@addProgress");
        Route::post("delete_progress","ProjectController@deleteProgress");


	});

	//推荐位管理
	Route::group(['prefix' => 'recommend', 'namespace' => 'recommend'], function(){
		Route::get("", "RecommendController@index");
		Route::get("get_project", "RecommendController@getProject");
		Route::post("update_project", "RecommendController@updateProject");
		Route::get("get_tech", "RecommendController@getTechs");
		Route::get("get_device", "RecommendController@getDevice");
		Route::get("get_group", "RecommendController@getGroup");
		Route::get("get_user", "RecommendController@getUser");
		Route::post("update_tech", "RecommendController@updateTechs");
        Route::post("update_device", "RecommendController@updateDevice");
        Route::post("update_group", "RecommendController@updateGroup");

		Route::get("get_order_project", "RecommendController@getOrderProject");
		Route::get("get_order_user", "RecommendController@getOrderUser");
		Route::get("get_order_tech", "RecommendController@getOrderTech");
		Route::get("get_order_device", "RecommendController@getOrderDevice");
		Route::get("get_order_group", "RecommendController@getOrderGroup");
		Route::post("update_user", "RecommendController@updateUser");
		Route::post("update_order_user", "RecommendController@updateOrderUser");
		Route::post("update_index_project", "RecommendController@updateIndexProject");
		Route::post("update_index_tech", "RecommendController@updateIndexTechs");
		Route::post("update_index_device", "RecommendController@updateIndexDevice");
		Route::post("update_index_group", "RecommendController@updateIndexGroup");
		Route::get("get_index_group","RecommendController@getIndexGroup");
		Route::get("get_index_project", "RecommendController@getIndexProject");
		Route::get("get_index_tech", "RecommendController@getIndexTech");
		Route::get("get_index_device", "RecommendController@getIndexDevice");
		Route::post("update_big_recommend", "RecommendController@updateBigRecommend");
		Route::get("get_big_recommend", "RecommendController@getBigRecommend");
		Route::get("get_index_recommend", "RecommendController@getIndexRecommend");
		Route::post("update_index_recommend", "RecommendController@updateIndexRecommend");
		Route::get("get_index","RecommendController@getIndex");
		Route::get("get_big", "RecommendController@getBig");
		Route::get("get_hot_project", "RecommendController@getHotProject");
		Route::get("get_hot_tech", "RecommendController@getHotTech");
		Route::get("get_hot_device", "RecommendController@getHotDevice");
		Route::post("update_hot_project", "RecommendController@updateHotProject");
		Route::post("update_hot_tech", "RecommendController@updateHotTech");
		Route::post("update_hot_device", "RecommendController@updateHotDevice");
	});


	// 融资管理
	Route::group(["prefix" => "finance", "namespace" => "finance"], function(){
		Route::get("", "FinanceController@index");
		Route::get("add_finance", "FinanceController@addFinance");
		Route::get("edit_finance", "FinanceController@editFinance");
		Route::post("edit_finance/update", "FinanceController@updateFinance");
		Route::post("project_list", "FinanceController@projectList");
		Route::post("device_list", "FinanceController@deviceList");
		Route::post("tech_list", "FinanceController@techList");

		Route::get("get_financing", "FinanceController@getFinancing");

		Route::get("detail_finance", "FinanceController@detailFinance");

		Route::get("get_detail_finance", "FinanceController@getDetailFinance");
		Route::get("get_detail_lirun", "FinanceController@getDetailLirun");
		Route::get("get_detail_liuliang", "FinanceController@getDetailLiuliang");
		Route::get("get_detail_fuzai", "FinanceController@getDetailFuzai");


	});


	//设备管理
	Route::group(["prefix" => "device", "namespace" => "device"], function(){
		Route::get("", "DeviceController@index");
		Route::get("edit_device", "DeviceController@editDevice");
		Route::get("add_device", "DeviceController@addDevice");
		Route::post("update_device", "DeviceController@updateDevice");
		Route::get("detail_device", "DeviceController@detailDevice");
		Route::post("device_list", "DeviceController@deviceList");
		Route::get("get_detail", "DeviceController@getDetail");
		Route::get("edit_device/get_device_cases", "DeviceController@getDeviceCases");

		Route::get("edit_device/get_device_cases", "DeviceController@getDeviceCases");
		Route::get("edit_device/get_case_detail", "DeviceController@getCaseDetail");
		Route::post("edit_device/update_case", "DeviceController@updateCase");
		Route::post("edit_device/add_case", "DeviceController@addCase");


		Route::post("edit_device/save_apply", "DeviceController@saveApply");
		Route::post("edit_device/delete_apply", "DeviceController@deleteApply");
		Route::get("edit_device/get_device_apply", "DeviceController@getDeviceApply");
		Route::post("edit_device/delete_cases", "DeviceController@deleteCases");
        // Route::post("edit_device/delete_apply", "DeviceController@addDevice");
		Route::post("add_device/add", "DeviceController@saveDevice");
        Route::get("get_user", "DeviceController@getUser");
        Route::get("get_audit","DeviceController@getDeviceAudit");
        Route::post("audit", "DeviceController@audit");

	});


	//技术管理
	Route::group(["prefix" => "tech", "namespace" => "tech"], function(){
		Route::get("", "TechController@index");
		Route::post("tech_list", "TechController@techsList");
		Route::get("edit_tech", "TechController@editTech");
		Route::get("add_tech", "TechController@addTech");
		Route::post("add_tech/save", "TechController@saveTech");
		Route::get("detail_tech", "TechController@detailTech");
		Route::get("edit_tech/get_tech", "TechController@getTech");
		Route::post("edit_tech/update", "TechController@updateTech");
		Route::post("tech_audit", "TechController@techAudit");
	});

	//广告位管理
	Route::group(["prefix" => "advertis", "namespace" => "advertis"], function(){
		Route::get("", "AdvertisController@index");
		Route::post("add_index_banner","AdvertisController@addIndexBanner");
		Route::get("get_index_banner", "AdvertisController@getIndexBanner");
		Route::get("edit_index_banner", "AdvertisController@editIndexBanner");
		Route::post("update_index_banner", "AdvertisController@updateIndexBanner");
		Route::post("delete_index_banner", "AdvertisController@deleteIndexBanner");
		Route::get("get_industry_banner", "AdvertisController@getIndustryBanner");
		Route::post("add_industry_banner","AdvertisController@addIndustryBanner");
		Route::get("edit_industry_banner", "AdvertisController@editIndustryBanner");
		Route::get("update_industry_banner", "AdvertisController@updateIndustryBanner");
		Route::post("delete_industry_banner", "AdvertisController@deteleIndustryBanner");
		Route::post("add_interactive_banner","AdvertisController@addInteractiveBanner");
		Route::post("update_interactive_banner","AdvertisController@updateInteractiveBanner");
		Route::get("get_interactive_banner","AdvertisController@getInteractiveBanner");
		Route::get("edit_interactive_banner","AdvertisController@editInteractiveBanner");
	});

    //低碳生活产品
	Route::group(["prefix" => "product", "namespace" => "product"], function(){
	    Route::get("", "ProductController@Index");
	    Route::get("add_product", "ProductController@addProduct");
	    Route::get("edit_product", "ProductController@editProduct");
	    Route::get("get_product", "ProductController@getProduct");
	    Route::post("save_product", "ProductController@saveProduct");
	    Route::post("update_product", "ProductController@updateProduct");
	    Route::post("delete_product", "ProductController@deleteProduct");
	    Route::get("get_edit_product", "ProductController@getEditProduct");
	    Route::post("list", "ProductController@productList");
	});

	//开发区管理
	Route::group(["prefix" => "development", "namespace" => "development"], function(){
		Route::get("", "DevelopmentController@index");
		Route::post("list", "DevelopmentController@developmentList");
		Route::get("get_development", "DevelopmentController@getDevelopment");
		Route::get("add_development", "DevelopmentController@addDevelopment");
		Route::post("add_user", "DevelopmentController@addUser");
		Route::get("add_news", "DevelopmentController@addNews");
		Route::post("add_news/save", "DevelopmentController@saveNews");
		Route::get("edit_news", "DevelopmentController@editNews");
		Route::get("edit_news/get_news", "DevelopmentController@getNews");
		Route::post("edit_news/update", "DevelopmentController@updateNews");
		Route::get("delete", "DevelopmentController@deleteNews");

		Route::get("get_development_user", "DevelopmentController@getDevelopmentUser");
	});
	//静态管理
	Route::group(["prefix" => "page", "namespace" => "page"], function(){
		Route::get("", "PageController@index");
		Route::get("edit_page", "PageController@editing");
		Route::get("add_page", "PageController@add");
		Route::post("save_page", "PageController@addPage");
		Route::post("update_page", "PageController@updatePage");
		Route::get("get_page", "PageController@getPage");
		Route::post("list", "PageController@pageList");
		Route::post("delete_page", "PageController@deletePage");
		Route::get("test" ,"PageController@Test");
	});


});


// 前台路由
Route::group(["namespace" => "user"], function(){
	//前端首页
	Route::resource("/", "IndexController");

	Route::get("get_project", "IndexController@getProject");

	//api
	Route::group(["prefix" => "api", "namespace" => "api"], function(){
		Route::get("news_list", "NewsController@getNews");
		Route::get("tech_list", "TechController@getTech");
	});
	Route::group(["prefix" => "static", "namespace" => "about"], function(){
		Route::get("", "AboutController@About");
		// Route::get("faq", "AboutController@FQA");
		// Route::get("contact", "AboutController@Contact");
		// Route::get("service", "AboutController@Service");
		Route::get("consult", "AboutController@showConsult");
		Route::post("submit_consult", "AboutController@submitConsult");
	});

	//搜索
	Route::group(["prefix" => "search", "namespace" => "search"], function(){
		Route::get("search_list", "SearchController@Search");
	});

	//低碳产业
	Route::group(["prefix" => "industry", "namespace" => "industry"], function(){
		Route::get("project/detail", "ProjectController@showDetail");
		Route::get("device/detail", "DeviceController@showDetail");
		Route::get("tech/detail", "TechController@showDetail");
		Route::get("group/detail", "GroupController@groupDetail");
		Route::get("group/get_projects", "GroupController@getProjects");
		Route::get("group/get_circle", "GroupController@getCircle");
		Route::get("group/get_financing_project", "GroupController@getFinancingProject");
		Route::get("group/get_financing_devicetech", "GroupController@getFinancingDevicetech");
		Route::get("group/get_third_industry", "GroupController@getThirdIndustry");
		Route::get("edit_device/get_case", "DeviceController@getCase");

		Route::get("group/get_device", "GroupController@getDevice");
		Route::get("group/get_tech", "GroupController@getTech");

		Route::resource("", "IndexController");
		Route::resource("group", "GroupController");
		Route::resource("project", "ProjectController");
		Route::post("project/add_description", "ProjectController@addDescription");
		Route::resource("device", "DeviceController");
		Route::resource("tech", "TechController");
	});

	//低碳生活
	Route::group(["prefix" => "life", "namespace" => "life"], function(){
		Route::resource("", "IndexController");
		Route::get("life_list", "IndexController@getLifeList");

	});

	//低碳金融
	Route::group(["prefix" => "finance", "namespace" => "finance"], function(){
		Route::resource("", "IndexController");
	});

	//生意圈
	Route::group(["prefix" => "business", "namespace" => "business"], function(){
		Route::resource("", "IndexController");
		Route::post("add_message", "IndexController@addMessage");
		Route::get("get_message", "IndexController@getMessageList");
		Route::post("add_comment", "IndexController@addComment");
		Route::get("get_comment", "IndexController@getCommentList");

	});

	//资讯
	Route::group(["prefix" => "information", "namespace" => "information"], function(){
		Route::resource("", "IndexController");
		Route::resource("news", "NewsController");
		Route::resource("institution", "InstitutionController");
		Route::resource("dzone", "DZoneController");
		Route::resource("carbon", "CarbonController");
		Route::resource("detail", "NewsController@detail");
		Route::get("news_list", "NewsController@getNewsList");
	});
	//开发区
	Route::group(["prefix" => "development", "namespace" => "development"], function(){
		Route::resource("", "IndexController");
		Route::get("get_news", "IndexController@getNews");
		Route::get("get_development", "IndexController@getDevelopment");
	});

	//收藏夹
	Route::group(["prefix" => "collect", "namespace" => "collect"], function(){
		Route::resource("", "IndexController");
		Route::post("add_collect", "IndexController@addCollect");
		// Route::resource("project", "ProjectController");
		Route::get("get_project", "ProjectController@getProject");
		Route::get("get_device", "DeviceController@getDevice");
		Route::get("get_tech", "TechController@getTech");
		Route::resource("device", "DeviceController");
		Route::resource("tech", "TechController");
		Route::resource("group", "GroupController");
	});

	//帮助信息
	Route::group(["prefix" => "help", "namespace" => "help"], function(){

	});

	//联系客户
	Route::group(["prefix" => "service", "namespace" => "service"], function(){
		Route::resource("", "IndexController");
	});

	//登录
	Route::group(["prefix" => "login", "namespace" => "login"], function(){
		Route::resource("", "IndexController");
		Route::post("login", "IndexController@dologin");
		Route::get("loginout", "IndexController@loginOut");
	});

	//注册
	Route::group(["prefix" => "regist", "namespace" => "regist"], function(){
		Route::resource("", "IndexController");
		Route::post("adduser", "IndexController@addPhoneUser");
		Route::post("addemuser", "IndexController@addEmUser");
		Route::get("verify_email", "IndexController@verifyEmail");
		Route::post("verify_code", "IndexController@verifyCode");
	});

	//用户中心
	Route::group(["prefix" => "uc", "namespace" => "uc", 'middleware' => 'usersession'], function(){
		Route::resource("", "IndexController");

		Route::get("project_show", "CommonController@projectShow");

		Route::get("select_type", "IndexController@selectType");

		Route::get("get_mainbody", "IndexController@getMainbody");
		Route::get("get_use_device", "CommonController@getUseDevice");
		Route::get("get_use_tech", "CommonController@getUseTech");
		Route::post("user/upload", "CommonController@uploadImg");
		Route::get("address/getarea", "CommonController@getArea");
		Route::get("get_investment_type", "CommonController@getInvestmentType");
		Route::get("get_energy_type", "CommonController@getEnergyType");
		Route::get("get_domain_type", "CommonController@getDomainType");
		Route::get("get_domains", "CommonController@getDomains");
		Route::get("get_techs", "CommonController@getTechs");
		Route::get("get_all_project", "CommonController@getAllProject");
		Route::resource("profile", "ProfileController");
		Route::get("edit_profile", "ProfileController@editProfile");
		Route::get("edit_profile/list", "ProfileController@profileList");
		Route::post("edit_profile/update", "ProfileController@updateProfile");
		Route::post("edit_profile/face", "ProfileController@updateFace");
		Route::resource("avatar", "AvatarController");
		Route::post("update_avatar", "AvatarController@updateAvatar");



		Route::group(["prefix" => "energy", "namespace" => "energy"], function(){
			Route::resource("groupinfo", "GroupInfoController");
			Route::resource("project", "ProjectController");
			Route::resource("news", "NewsController");
			Route::resource("finance", "FinanceController");

			Route::get("edit_groupinfo", "GroupInfoController@editGroupInfo");
			Route::post("edit_groupinfo/update", "GroupInfoController@updateGroupInfo");
			Route::get("edit_groupinfo/list", "GroupInfoController@groupInfoList");
			Route::get("add_groupinfo", "GroupInfoController@addGroupInfo");
			Route::post("save_groupinfo", "GroupInfoController@saveGroupInfo");
			Route::post("update_groupinfo", "GroupInfoController@updateGroupInfo");

			Route::get("add_project", "ProjectController@addProject");
			Route::post("add_project/add", "ProjectController@saveProject");
			Route::get("edit_project", "ProjectController@editProject");
			Route::post("edit_project/update", "ProjectController@updateProject");
			Route::get("edit_project/detail", "ProjectController@getProjectDetail");

			Route::get("edit_project/list", "ProjectController@getProjectList");

			// Route::get("add_news", "NewsController@addNews");
			// Route::post("add_news/add", "NewsController@saveNews");
			// Route::get("edit_news", "NewsController@editNews");
			// Route::post("edit_news/update", "NewsController@updateNews");

			Route::get("edit_finance", "FinanceController@editFinance");
			Route::post("edit_finance/add", "FinanceController@addFinance");
			Route::get("edit_finance/get_finance_type", "FinanceController@getFinanceType");
			Route::get("finance_detail", "FinanceController@financeDetail");

			// 认证信息
			Route::resource("validator", "ValidatorController");
			Route::resource("validator_add", "ValidatorController@addValidatorInfo");
		});

		Route::group(["prefix" => "saver", "namespace" => "saver"], function(){
			Route::resource("groupinfo", "GroupInfoController");
			Route::resource("industryinfo", "IndustryInfoController");
			Route::resource("project", "ProjectController");
			Route::resource("news", "NewsController");
			Route::resource("finance", "FinanceController");

			Route::get("edit_groupinfo", "GroupInfoController@editGroupInfo");
			Route::post("edit_groupinfo/update", "GroupInfoController@updateGroupInfo");
			Route::get("edit_groupinfo/list", "GroupInfoController@groupInfoList");

			Route::get("add_project", "ProjectController@addProject");
			Route::post("add_project/add", "ProjectController@saveProject");
			Route::get("edit_project", "ProjectController@editProject");
			Route::post("edit_project/update", "ProjectController@updateProject");
			Route::get("edit_project/detail", "ProjectController@getProjectDetail");

			// Route::get("add_news", "NewsController@addNews");
			// Route::post("add_news/add", "NewsController@saveNews");
			// Route::get("edit_news", "NewsController@editNews");
			// Route::post("edit_news/update", "NewsController@updateNews");
			// Route::get("news_detail", "NewsController@newsDetail");

			Route::get("edit_industryinfo", "IndustryInfoController@editIndustryinfo");
			Route::post("edit_industryinfo/update", "IndustryInfoController@updateIndustryinfo");
			Route::get("edit_industryinfo/list", "IndustryInfoController@industryinfoList");

			Route::get("edit_finance", "FinanceController@editFinance");
			Route::post("edit_finance/add", "FinanceController@addFinance");
			Route::get("edit_finance/get_finance_type", "FinanceController@getFinanceType");
			Route::get("edit_finance/get", "FinanceController@getFinance");
			Route::get("update_finance", "FinanceController@editFinanceProject");
			Route::post("update_finance/update", "FinanceController@updateFinance");

			Route::get("finance_detail", "FinanceController@financeDetail");

			// 认证信息
			Route::get("validator", "ValidatorController@index");
			Route::get("validator_industryinfo", "ValidatorController@validatorIndustry");
			Route::post("groupinfo_add", "ValidatorController@addGroupInfo");
			Route::post("industryinfo_add", "ValidatorController@addIndustryInfo");
		});

		Route::group(["prefix" => "devicetech", "namespace" => "devicetech"], function(){
			Route::resource("groupinfo", "GroupInfoController");
			Route::resource("industryinfo", "IndustryInfoController");
			Route::resource("device", "DeviceController");
			Route::resource("tech", "TechController");
			Route::resource("finance", "FinanceController");
			Route::resource("news", "NewsController");

			// Route::get("add_news", "NewsController@addNews");
			// Route::post("add_news/add", "NewsController@saveNews");
			// Route::get("edit_news", "NewsController@editNews");
			// Route::post("edit_news/update", "NewsController@updateNews");

			Route::get("edit_groupinfo", "GroupInfoController@editGroupInfo");
			Route::post("edit_groupinfo/update", "GroupInfoController@updateGroupInfo");
			Route::get("edit_groupinfo/list", "GroupInfoController@groupInfoList");

			Route::get("edit_industryinfo", "IndustryInfoController@editIndustryInfo");
			Route::get("edit_industryinfo/list", "IndustryInfoController@industryInfoList");
			Route::post("edit_industryinfo/update", "IndustryInfoController@updateIndustryInfo");

			Route::get("edit_device", "DeviceController@editDevice");
			Route::get("add_device", "DeviceController@addDevice");
			Route::post("add_device/add", "DeviceController@saveDevice");
			Route::get("edit_device/get_device", "DeviceController@getDevice");
			Route::post("edit_device/update", "DeviceController@updateDevice");
			Route::post("add_device/update", "DeviceController@updateDevice");

			Route::get("edit_device/get_device_cases", "DeviceController@getDeviceCases");
			Route::get("edit_device/get_case_detail", "DeviceController@getCaseDetail");
			Route::post("edit_device/update_case", "DeviceController@updateCase");
			Route::post("edit_device/add_case", "DeviceController@addCase");

			Route::post("edit_device/save_apply", "DeviceController@saveApply");
			Route::post("edit_device/delete_apply", "DeviceController@deleteApply");
			Route::get("edit_device/get_device_apply", "DeviceController@getDeviceApply");
			Route::post("edit_device/delete_cases", "DeviceController@deleteCases");

			Route::get("device_show", "DeviceController@deviceShow");

			Route::get("edit_tech", "TechController@editTech");
			Route::post("edit_tech/add", "TechController@addTech");
			Route::get("edit_tech/get_tech", "TechController@getTech");
			Route::post("edit_tech/update", "TechController@updateTech");

			Route::get("tech_show", "TechController@techShow");

			Route::get("edit_finance", "FinanceController@editFinance");
			Route::post("edit_finance/add", "FinanceController@addFinance");
			Route::get("edit_finance/get_finance_type", "FinanceController@getFinanceType");
			Route::get("update_finance", "FinanceController@editFinanceDetail");
			Route::post("update_finance/update", "FinanceController@updateFinance");
			Route::get("edit_finance/get", "FinanceController@getFinance");

			Route::get("finance_detail", "FinanceController@financeDetail");

			// 认证信息
			Route::get("validator", "ValidatorController@index");
			Route::get("validator_industryinfo", "ValidatorController@validatorDevicetech");
			Route::post("groupinfo_add", "ValidatorController@addGroupInfo");
			Route::post("industryinfo_add", "ValidatorController@addIndustryInfo");
		});

		Route::group(["prefix" => "third", "namespace" => "third"], function(){
			Route::resource("groupinfo", "GroupInfoController");
			Route::resource("industryinfo", "IndustryInfoController");
			Route::resource("news", "NewsController");

			Route::get("edit_groupinfo", "GroupInfoController@editGroupInfo");
			Route::post("edit_groupinfo/update", "GroupInfoController@updateGroupInfo");
			Route::get("edit_groupinfo/list", "GroupInfoController@groupInfoList");

			Route::get("edit_artisan", "IndustryInfoController@editArtisan");
			Route::post("edit_artisan/add", "IndustryInfoController@saveArtisan");
			Route::get("edit_artisan/get_artisan", "IndustryInfoController@getArtisan");
			Route::post("edit_artisan/update", "IndustryInfoController@updateArtisan");
			Route::post("edit_artisan/delete", "IndustryInfoController@deleteArtisan");

			Route::get("edit_instrument", "IndustryInfoController@editInstrument");
			Route::post("edit_instrument/add", "IndustryInfoController@addInstrument");
			Route::get("edit_instrument/get", "IndustryInfoController@getInstrument");
			Route::post("edit_instrument/update", "IndustryInfoController@updateInstrument");
			Route::post("edit_instrument/delete", "IndustryInfoController@deleteInstrument");

			Route::get("edit_projects", "IndustryInfoController@editProjects");
			Route::post("edit_projects/add", "IndustryInfoController@addProjects");
			Route::get("edit_projects/get", "IndustryInfoController@getProjects");
			Route::post("edit_projects/update", "IndustryInfoController@updateProjects");
			Route::post("edit_projects/delete", "IndustryInfoController@deleteProjects");

			// Route::get("add_news", "NewsController@addNews");
			// Route::post("add_news/add", "NewsController@saveNews");
			// Route::get("edit_news", "NewsController@editNews");
			// Route::post("edit_news/update", "NewsController@updateNews");
			// Route::get("news_detail", "NewsController@newsDetail");

			// 认证信息
			Route::get("validator", "ValidatorController@index");
			Route::get("validator_industryinfo", "ValidatorController@validatorIndustry");
			Route::post("validator_save", "ValidatorController@saveIndustry");
		});

		Route::group(["prefix" => "ass", "namespace" => "ass"], function(){
			Route::resource("groupinfo", "GroupInfoController");
			Route::resource("project", "ProjectController");
			Route::resource("news", "NewsController");

			Route::get("edit_groupinfo", "GroupInfoController@editGroupInfo");
			Route::post("edit_groupinfo/update", "GroupInfoController@updateGroupInfo");
			Route::get("edit_groupinfo/list", "GroupInfoController@groupInfoList");

			Route::get("add_project", "ProjectController@addProject");
			Route::post("add_project/add", "ProjectController@saveProject");
			Route::get("edit_project", "ProjectController@editProject");
			Route::post("edit_project/update", "ProjectController@updateProject");
			Route::get("edit_project/detail", "ProjectController@getProjectDetail");

			// Route::get("project_detail", "ProjectController@projectDetail");

			// Route::get("add_news", "NewsController@addNews");
			// Route::post("add_news/add", "NewsController@saveNews");
			// Route::get("edit_news", "NewsController@editNews");
			// Route::post("edit_news/update", "NewsController@updateNews");

			// Route::get("news_detail", "NewsController@newsDetail");

			// 认证信息
			Route::get("validator", "ValidatorController@index");
			Route::post("groupinfo_add", "ValidatorController@addGroupInfo");
		});
		Route::group(["prefix" => "gov", "namespace" => "gov"], function(){
			Route::resource("groupinfo", "GroupInfoController");
			Route::resource("project", "ProjectController");
			Route::resource("news", "NewsController");

			Route::get("edit_groupinfo", "GroupInfoController@editGroupInfo");
			Route::post("edit_groupinfo/update", "GroupInfoController@updateGroupInfo");
			Route::get("edit_groupinfo/list", "GroupInfoController@groupInfoList");

			Route::get("add_project", "ProjectController@addProject");
			Route::post("add_project/add", "ProjectController@saveProject");
			Route::get("edit_project", "ProjectController@editProject");
			Route::post("edit_project/update", "ProjectController@updateProject");
			Route::get("edit_project/detail", "ProjectController@getProjectDetail");

			Route::get("project_detail", "ProjectController@projectDetail");
			// Route::get("edit_news", "NewsController@editNews");
			// Route::get("add_news", "NewsController@addNews");
			// Route::get("news_detail", "NewsController@newsDetail");

			// 认证信息
			Route::get("validator", "ValidatorController@index");
			Route::post("groupinfo_add", "ValidatorController@addGroupInfo");
		});
    });
});

